import static org.junit.Assert.*;

public class NGuessNumberTest {

    NGuessNumber ngn = new NGuessNumber();

    @org.junit.Before
    public void setUp() throws Exception {
    }

    @org.junit.After
    public void tearDown() throws Exception {
    }

    @org.junit.Test
    public void generateAnswer()
    {
        assertEquals(ngn.generateAnswer(), 4);
    }

    @org.junit.Test
    public void getPlayerInput()
    {
        assertEquals(ngn.getPlayerInput(), 4);
    }

    int[] answer = {1, 2, 3, 4};
    int[] guess = {1, 2, 3, 4};

    int[] hop = {4, 4};

    @org.junit.Test
    public void compareGuessAnswer()
    {
        assertEquals(ngn.compareGuessAnswer(answer, guess), hop);
    }

    @org.junit.Test
    public void isWin()
    {
        assertEquals(ngn.isWin(answer, guess), hop);
    }

}